#!/usr/bin/env python

import logging

from gtkmvc.model import Model
from i18n.conf import _
from reference.cinterface.sistema import sistema
from reference.cinterface import sistemaaux
log = logging.getLogger('models')

class System(Model):
    __properties__ = {
        'sistema': (sistema, sistema(), ['go']),
    }

    def __init__(self):
        super(System, self).__init__()
        sistemaaux.init_sistema(self.sistema)
    def step(self):
        self.sistema.go(sistemaaux._STEPS_PER_SIM)
    

if __name__ == '__main__':
    #TODO: run tests
    pass

# vim:set shiftwidth=4 tabstop=4 expandtab ci textwidth=79:

